package com.hualude.roadsign.model;

import javax.persistence.*;
import java.util.Objects;

@Entity
@Table(name = "tb_user_push_time", schema = "hualude_db", catalog = "")
public class UserPushTimeEntity {
    private Integer userPushTimeId;
    private Integer userId;
    private String roadSignTime;
    private String signalLampTime;
    private String signalMachineTime;
    private String solarEnergyTime;
    private String highLeverTime;
    private String roadLineTime;
    private String guardrailTime;
    private String monitorTime;
    private String coverTime;

    public UserPushTimeEntity() {
    }

    public UserPushTimeEntity(Integer userPushTimeId,Integer userId, String roadSignTime, String signalLampTime, String signalMachineTime, String solarEnergyTime, String highLeverTime, String roadLineTime, String guardrailTime, String monitorTime, String coverTime) {
        this.userPushTimeId = userPushTimeId;
        this.userId=userId;
        this.roadSignTime = roadSignTime;
        this.signalLampTime = signalLampTime;
        this.signalMachineTime = signalMachineTime;
        this.solarEnergyTime = solarEnergyTime;
        this.highLeverTime = highLeverTime;
        this.roadLineTime = roadLineTime;
        this.guardrailTime = guardrailTime;
        this.monitorTime = monitorTime;
        this.coverTime = coverTime;
    }

    @Id
    @Column(name = "UserPushTimeId")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Integer getUserPushTimeId() {
        return userPushTimeId;
    }

    public void setUserPushTimeId(Integer userPushTimeId) {
        this.userPushTimeId = userPushTimeId;
    }

    @Basic
    @Column(name = "UserId")
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Basic
    @Column(name = "RoadSignTime")
    public String getRoadSignTime() {
        return roadSignTime;
    }

    public void setRoadSignTime(String roadSignTime) {
        this.roadSignTime = roadSignTime;
    }

    @Basic
    @Column(name = "SignalLampTime")
    public String getSignalLampTime() {
        return signalLampTime;
    }

    public void setSignalLampTime(String signalLampTime) {
        this.signalLampTime = signalLampTime;
    }

    @Basic
    @Column(name = "SignalMachineTime")
    public String getSignalMachineTime() {
        return signalMachineTime;
    }

    public void setSignalMachineTime(String signalMachineTime) {
        this.signalMachineTime = signalMachineTime;
    }

    @Basic
    @Column(name = "SolarEnergyTime")
    public String getSolarEnergyTime() {
        return solarEnergyTime;
    }

    public void setSolarEnergyTime(String solarEnergyTime) {
        this.solarEnergyTime = solarEnergyTime;
    }

    @Basic
    @Column(name = "HighLeverTime")
    public String getHighLeverTime() {
        return highLeverTime;
    }

    public void setHighLeverTime(String highLeverTime) {
        this.highLeverTime = highLeverTime;
    }

    @Basic
    @Column(name = "RoadLineTime")
    public String getRoadLineTime() {
        return roadLineTime;
    }

    public void setRoadLineTime(String roadLineTime) {
        this.roadLineTime = roadLineTime;
    }

    @Basic
    @Column(name = "GuardrailTime")
    public String getGuardrailTime() {
        return guardrailTime;
    }

    public void setGuardrailTime(String guardrailTime) {
        this.guardrailTime = guardrailTime;
    }

    @Basic
    @Column(name = "MonitorTime")
    public String getMonitorTime() {
        return monitorTime;
    }

    public void setMonitorTime(String monitorTime) {
        this.monitorTime = monitorTime;
    }

    @Basic
    @Column(name = "CoverTime")
    public String getCoverTime() {
        return coverTime;
    }

    public void setCoverTime(String coverTime) {
        this.coverTime = coverTime;
    }

}
